package com.spring.cloud.study.user.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.spring.cloud.study.common.entity.SysMenu;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: 齐丹枫
 * Date: 2018/6/1
 * Time: 13:17
 * To change this template use File | Settings | File Templates.
 * Description:
 */
@Mapper
public interface SysMenuDao extends BaseMapper<SysMenu>{

    List<SysMenu> findMenuByRoleIds(@Param("roleIds") List<Integer> roleIds);
}
